import request from '@/utils/request'


export function getAuthInfo(authCode,state) {
  return request({
    url: '/weixin/auth',
    method: 'get',
    params: {'code':authCode,'state':state}
  })
}

export function getJsConfigSign(data) {
  return request({
    url: '/weixin/js_config',
    method: 'post',
    data: data
  })
}

export default {
  getAuthInfo,
  getJsConfigSign,

}

